package com.intellagric.service.module.sys_dictionary;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.SysDictionary;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/30
 * @DESC： 数据字典管理服务接口
 */
public interface DictionaryService {

    //增加字典信息
    ResponseMessage addDictionary(SysDictionary sysDictionary);

    //删除字典信息
    ResponseMessage deleteDictionary(String id);

    //修改字典信息信息
    ResponseMessage editDictionary(SysDictionary sysDictionary);

    //查询字典信息列表
    SysDictionary getDictionaryById(String id);
    LayuiDataGridResult getDictionaryByParentId(String parentId);
    LayuiDataGridResult getDictionaryList();
    LayuiDataGridResult getDictionaryTree();

}
